package com.baizhi.app.appservice.impl;


import com.baizhi.app.appservice.CmfzBannerAppService;
import com.baizhi.entity.CmfzBanner;
import com.baizhi.mapper.CmfzBannerDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CmfzBannerAppServiceImpl implements CmfzBannerAppService {
    @Autowired
    private CmfzBannerDAO cmfzBannerDAO;
    @Override
    public List<CmfzBanner> selectBanner() {
        List<CmfzBanner> cmfzBanners = cmfzBannerDAO.selectBanner();
        return cmfzBanners;
    }
}
